<!DOCTYPE html>
<%@page language="java" pageEncoding="utf-8" contentType="text/html; charset=UTF-8"%>
<%
	String ctx = request.getContextPath();
%>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>客户端监控-用户日志</title>
    <link rel="stylesheet" type="text/css" href="css/basic.css">
    <link rel="stylesheet" type="text/css" href="css/common.css">
    <link rel="stylesheet" type="text/css" href="css/ui.css">
    <link rel="stylesheet" type="text/css" href="css/g.css">
    <!-- 设置JS全局变量  ctx -->
	<script type="text/javascript">
		var ctx = "<%=request.getContextPath()%>";
	</script>
</head>
<body>
    <jsp:include page="head.jsp"></jsp:include>
    <div class="container">
    <jsp:include page="monitor_left.jsp"></jsp:include>
        <div class="page-content">
            <div id="content-scroll">
                <div class="cont-area clearfix">
                    <i class="fl"></i><span class="fl"><a href="index.jsp">首页</a>&gt;<a href="monitor_save.jsp">安全审计</a>&gt;用户操作日志</span>
                </div>
                <div class="nomal-dom">
                    <table class="g-mt10">
                        <thead>
                            <tr>
                                <th>数据源</th>
                                <th>行为</th>
                                <th>开始时间</th>
                                <th>耗时/ms</th>
                                <th>文件路径</th>
                            </tr>
                        </thead>
                        <tbody id="j-behavitorList">
                            <script type="text/ysmart" data-name="behavitorTpl">
                            <@ yepjs.isArray(DATA) && yepjs.forEach(DATA, function(item, index){ @>
							<tr data-id="<@= item.id @>">
 								<td><@= item.dsId @></td>
								<td><@ if (item.action == "upload") { @>上传<@ }else{@>下载<@ }@> </td>
                                <td><@= item.beginTime @></td>
 								<td><@= item.elapsedTime @></td>
 								<td><@= item.targetPath.substr(0,100) @></td>
                            </tr>
                            <@ }); @>
                            </script>
                        </tbody>
                    </table>
                </div>
                
                  <div class="grid-page clearfix" id="j-page">
                        <div class="page-left fl"><span>共<span id="j-totalNum">0</span>条</span></div>
                        <div class="page-right fl">
                            <a href="javascript:;" class="j-page-first">首页</a>
                            <a href="javascript:;" class="j-page-prev">上一页</a>
                            <span>第<input type="text" value="1" class="j-page-cur">页，共<span class="j-page-totalPage">1</span>页</span>
                            <a href="javascript:;" class="j-page-next">下一页</a>
                            <a href="javascript:;" class="j-page-last">尾页</a>
                        </div>
             		</div>
            </div>
        </div>
    </div>
    <script type="text/ysmart" data-name="storageTrendsTpl">
    <div id="j-pieBasic" style="width: 820px; height: 350px;  margin: 0 auto"></div>
    </script>
    <script src="js/yep.min.js" type="text/javascript" data-config="YBA.Config.js"></script>
    <script src="js/common.js" type="text/javascript"></script>
    <script type="text/javascript">
    yepjs.use({
            name: ["jquery", "YBA.Plugin.slimscroll","YBA.Common"],
            callback: function () {
                $('#side-scroll').slimscroll({
                    height:"100%"
                });
                YBA.Common.sidebar();
            }
        });
        yepjs.use({
            name:"YBA.Logic.Statistics.behaviors",
            callback:function(){
                YBA.Logic.Statistics.behaviors();
            }
        })
        
        
    </script>
</body>
</html>
